package com.mdl.api.dto;

import java.io.Serializable;

/**
 * @Author: guomengnan
 * @Date: 2019/6/13 0013 16:15
 * @Description: 接口调用通用返回对象
 */
public class CommonResult implements Serializable{
   //状态码
   private  String retcode;
   //状态信息
   private  String  retmsg;
   //返回数据
   private  Object retdata;

   public String getRetcode() {
      return retcode;
   }

   public void setRetcode(String retcode) {
      this.retcode = retcode;
   }

   public String getRetmsg() {
      return retmsg;
   }

   public void setRetmsg(String retmsg) {
      this.retmsg = retmsg;
   }

   public Object getRetdata() {
      return retdata;
   }

   public void setRetdata(Object retdata) {
      this.retdata = retdata;
   }

   @Override
   public String toString() {
      return "CommonResult{" +
              "retcode='" + retcode + '\'' +
              ", retmsg='" + retmsg + '\'' +
              ", retdata=" + retdata +
              '}';
   }
}
